﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EmpresaListForm.aspx.cs" 
Inherits="UILGestion.Admin.Empresas.EmpresaListForm" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>



<%@ Register src="../../Control/menuCtrl.ascx" tagname="menuCtrl" tagprefix="uc2" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link href="../../resources/css/main.css" rel="stylesheet" type="text/css" />
    
    <link rel="stylesheet" type="text/css" href="../../estilos/_common/styles/fonts.css" />
 <link rel="stylesheet" type="text/css" href="../../estilos/_common/styles/global.css" />
 <link rel="stylesheet" type="text/css" href="../../estilos/_common/styles/theme.css" />
 <link href="../../css/main.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <asp:ToolkitScriptManager ID="ToolkitScriptManager2" runat="server"  EnablePartialRendering="true">
    </asp:ToolkitScriptManager>
    <uc2:menuCtrl ID="menuCtrl1" runat="server" />
    

 <asp:Panel ID="Panel2" runat="server"
  CssClass="Heading secTitle AreaHeading ms-crm-List-Header">
  <asp:Label ID="Label2" runat="server" Text="LISTA DE EMPRESAS" style="font-size: large; color: #960818"></asp:Label>
 </asp:Panel>
  
  
  <asp:Panel ID="PanelButtom" runat="server"
  BackColor="white">
 
     <table width="100%" >
          <tr>
              <td width="70%"></td>
               <td width="30%">
 
                <table >
<tr>
<td><asp:Button ID="refreshButton" runat="server" Text="Actualizar"  Width ="70" onclick="actualizarButton_Click"  CssClass="ms-crm-List-Header" /></td>

<td>
    <asp:Button ID="nuevoButton" runat="server" Text="Nuevo"  Width ="80" onclick="nuevoButton_Click"   CssClass="ms-crm-List-Header" /></td>
</tr>
</table>
         
            </td>
          </tr>
      </table>
            
   
     

     <input id="idObra" name="idObra" type="hidden" runat="server" />
     
       <asp:GridView ID="proveedorGridView"     
                AutoGenerateColumns="False"
                DataKeyNames="idInternal" 
                SelectedIndexChanged="proveedorGridView_OnSelectedIndexChanged"
                Runat="Server" 
               SkinID="GridView"
                 
         >
      
                  <Columns>
                     
                      <asp:HyperLinkField datanavigateurlfields="idInternal" 
                      ItemStyle-ForeColor="Blue" ControlStyle-ForeColor="Blue"
                          DataNavigateUrlFormatString="EmpresaReadForm.aspx?id={0}" 
                          datatextfield="descripcion" HeaderText="DESCRIPCION" ItemStyle-Width="200px"/>
                      <asp:BoundField DataField="razonSocial" HeaderText="RAZON SOCIAL" ItemStyle-Width="350px" />
                      <asp:BoundField DataField="ruc" HeaderText="Ruc" ItemStyle-Width="100px" />
                      <asp:BoundField DataField="direccion" HeaderText="DIRECCION" ItemStyle-Width="350px" />
                    <asp:CheckBoxField DataField="activo" HeaderText="ACTIVO" ItemStyle-Width="70px" />

                  </Columns>
                 
           
               </asp:GridView>
       </asp:Panel>
   
    </form>
</body>
</html>
